package com.fish.passport.po;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author ShiHui
 */
public class PassPortCode {
	private String targetId;
	private String codeId;
	private String serialNo;
	private String portName;
	private String status;
	private Timestamp usedTime;
	private String providerName;
	private Integer providerId;
	private Long outPortId;
	private String processor;
	private String terminalContent;
	private Date validTime;
	private Date invalidTime;
	private Long supplierId;
    private String statusNo;
    private String statusExplanation;
    private String name;
    private String orderId;
    private String passportCodeId;
    private String targetName;
    
    private String ZkStatusEdit;//允许用户修改
	public Long getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Long supplierId) {
		this.supplierId = supplierId;
	}

	public Date getValidTime() {
		return validTime;
	}

	public void setValidTime(Date validTime) {
		this.validTime = validTime;
	}

	public Date getInvalidTime() {
		return invalidTime;
	}

	public void setInvalidTime(Date invalidTime) {
		this.invalidTime = invalidTime;
	}

	public String getProcessor() {
		return processor;
	}

	public void setProcessor(String processor) {
		this.processor = processor;
	}

	public Integer getProviderId() {
		return providerId;
	}

	public void setProviderId(Integer providerId) {
		this.providerId = providerId;
	}

	public Long getOutPortId() {
		return outPortId;
	}

	public void setOutPortId(Long outPortId) {
		this.outPortId = outPortId;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getTerminalContent() {
		return terminalContent;
	}

	public void setTerminalContent(String terminalContent) {
		this.terminalContent = terminalContent;
	}

	public String getCodeId() {
		return codeId;
	}

	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Timestamp getUsedTime() {
		return usedTime;
	}

	public void setUsedTime(Timestamp usedTime) {
		this.usedTime = usedTime;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public String getPortName() {
		return portName;
	}

	public void setPortName(String portName) {
		this.portName = portName;
	}

	public String getStatusNo() {
		return statusNo;
	}

	public void setStatusNo(String statusNo) {
		this.statusNo = statusNo;
	}

	public String getStatusExplanation() {
		return statusExplanation;
	}

	public void setStatusExplanation(String statusExplanation) {
		this.statusExplanation = statusExplanation;
	}

	public String getTargetId() {
		return targetId;
	}

	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}

	public String getZkStatusEdit() {
		String visible="false";
		if(this.status.trim().indexOf("USED")!=-1){
			visible="true";
		}
		return visible;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getPassportCodeId() {
		return passportCodeId;
	}

	public void setPassportCodeId(String passportCodeId) {
		this.passportCodeId = passportCodeId;
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}


}
